3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D provides routines that you can use to create and edit orthographic cameras.
You can use the Q3OrthographicCamera_New function to create a new orthographic camera.
TQ3CameraObject Q3OrthographicCamera_New (
const TQ3OrthographicCameraData *orthographicData);
You can use the Q3OrthographicCamera_GetData function to get the data that defines an orthographic camera.
TQ3Status Q3OrthographicCamera_GetData (
TQ3CameraObject camera,
TQ3OrthographicCameraData *cameraData);
The Q3OrthographicCamera_GetData function returns, through the cameraData parameter, information about the orthographic camera specified by the camera parameter. See "Orthographic Camera Data Structure" for the structure of an orthographic camera data structure.
You can use the Q3OrthographicCamera_SetData function to set the data that defines an orthographic camera.
TQ3Status Q3OrthographicCamera_SetData (
TQ3CameraObject camera,
const TQ3OrthographicCameraData *cameraData);
You can use the Q3OrthographicCamera_GetLeft function to get the left side of an orthographic camera.
TQ3Status Q3OrthographicCamera_GetLeft (
TQ3CameraObject camera,
float *left);
You can use the Q3OrthographicCamera_SetLeft function to set the left side of an orthographic camera.
TQ3Status Q3OrthographicCamera_SetLeft (
TQ3CameraObject camera,
float left);
You can use the Q3OrthographicCamera_GetTop function to get the top side of an orthographic camera.
TQ3Status Q3OrthographicCamera_GetTop (
TQ3CameraObject camera,
float *top);
You can use the Q3OrthographicCamera_SetTop function to set the top side of an orthographic camera.
TQ3Status Q3OrthographicCamera_SetTop (
TQ3CameraObject camera,
float top);
You can use the Q3OrthographicCamera_GetRight function to get the right side of an orthographic camera.
TQ3Status Q3OrthographicCamera_GetRight (
TQ3CameraObject camera,
float *right);
You can use the Q3OrthographicCamera_SetRight function to set the right side of an orthographic camera.
TQ3Status Q3OrthographicCamera_SetRight (
TQ3CameraObject camera,
float right);
You can use the Q3OrthographicCamera_GetBottom function to get the bottom side of an orthographic camera.
TQ3Status Q3OrthographicCamera_GetBottom (
TQ3CameraObject camera,
float *bottom);
You can use the Q3OrthographicCamera_SetBottom function to set the bottom side of an orthographic camera.
TQ3Status Q3OrthographicCamera_SetBottom (
TQ3CameraObject camera,
float bottom);
Previous | QD3D Book | Overview | Chapter Contents | Next |